package com.zde.moriserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import org.dromara.autotable.annotation.ColumnComment;
import org.dromara.autotable.annotation.mysql.MysqlTypeConstant;
import org.dromara.mpe.autotable.annotation.ColumnId;
import org.dromara.mpe.autotable.annotation.Table;
import org.dromara.mpe.processer.annotation.AutoDefine;
import org.dromara.mpe.processer.annotation.AutoMapper;
import org.dromara.mpe.processer.annotation.AutoRepository;

/**
 * 直播间礼物
 */
@AutoDefine // 新增
@AutoMapper // 新增
@AutoRepository // 新增
// @Data自动生成set get方法
@Data
@Table(value = "zde_gift", comment = "礼物表")
public class GiftEntity {

    @ColumnComment("id")
    @ColumnId(mode = IdType.AUTO, comment = "id主键", type = MysqlTypeConstant.BIGINT, length = 32)
    private String id;

    @ColumnComment("礼物名称")
    private String name;

    @ColumnComment("礼物价格")
    private Integer money;

    @ColumnComment("原图")
    private String img;

    @ColumnComment("雪碧图")
    private String spritesImg;

    /**
     * TODO 石老师 留坑 做高能弹幕，实现语音合成功能
     */
    @ColumnComment("礼物音效")
    private String giftMusic;


}
